package com.koron.common.core.business.workflow.bean.result;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author jzp
 * @since 2022/2/9
 */
@Data
public class FlowList {
    @ApiModelProperty(value = "和工作流billId关联")
    private String billId;

    @ApiModelProperty(value = "流程实例Id")
    private String processInstanceId;

    @ApiModelProperty(value = "应用编号")
    private String appCode;

    @ApiModelProperty(value = "应用名称")
    private String appName;

    @ApiModelProperty(value = "模板组编号")
    private String setCode;

    @ApiModelProperty(value = "模板组名称")
    private String setName;

    @ApiModelProperty(value = "模板编号")
    private String processCode;

    @ApiModelProperty(value = "模板名称")
    private String processName;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "提交后的当前节点编号（节点编号默认=id,可修改）（流程结束固定等于END,作废等于CANCEL,启动等于START）")
    private String curNodeCode;

    @ApiModelProperty(value = "提交后的当前节点名称")
    private String curNodeName;

    @ApiModelProperty(value = "当前节点处理人id集合")
    private String curNodeUsers;

    @ApiModelProperty(value = "当前节点处理人姓名集合")
    private String curNodeUsersName;

    @ApiModelProperty(value = "上一次操作")
    private Integer preOperation;

    @ApiModelProperty(value = "上一次操作名称")
    private String preOperationName;

    @ApiModelProperty(value = "上次操作人姓名")
    private String preOperationUserName;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上一次操作时间")
    private Date preOperationTime;

    @ApiModelProperty(value = "创建用户id")
    private String createUser;

    @ApiModelProperty(value = "创建用户名称")
    private String createUserName;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "curTaskId")
    private String curTaskId;

    @ApiModelProperty(value = "startUser")
    private String startUser;

    @ApiModelProperty(value = "endTime")
    private String endTime;

    @ApiModelProperty(value = "urgent")
    private String urgent;

}
